/* 基础样式 */
:root {
    --primary-color: #6D94F7;
    --secondary-color: #6D94F7;
    --accent-color: #ff006e;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f5f7fa;
}
main {
    background-image: url('images/lightblue.jpg');
    background-size: 150%; /* 放大背景图 */
    background-position: center; /* 保持居中 */
    background-repeat: no-repeat; /* 防止重复 */
    background-attachment: fixed; /* 可选：固定背景 */
}
.bold-text {
    font-weight: bold;
}

/* 英雄区域 */
/* 英雄区域 */
.back{
    /* background-image: url('images/lightblue.jpg'); */
  
}
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(109, 148, 247, 0.7), rgba(109, 148, 247, 0.7));
    background-image: url('images/flower.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    margin-bottom: 50px;
}

.hero-section h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease;
}

.hero-section p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.3s both;
}

.scroll-down {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: white;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 2;
}

/* 主要内容容器 */
.about-container {
    max-width: 1200px;
    margin: 0 auto 0; /* 负值margin使内容向上移动 */
    padding: 0 20px;
}

/* 通用部分样式 */
.section-header {
    text-align: center;
    margin: 5rem 0 3rem;
    position: relative;
}

.section-header.dark {
    color: var(--dark-color);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header h2 span {
    color: var(--primary-color);
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 0 auto;
    border-radius: 2px;
}

/* 使命愿景部分 */
.mission-section {
    padding-top: 0;
}

.section-header {
    margin: 0 0 3rem; /* 只保留底部边距 */
}
.mission-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.mission-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    color: white;
    font-size: 2rem;
}

.mission-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* 平台优势部分 */
.advantages-section {
    background-color: var(--dark-color);
    color: white;
    padding: 5rem 0;
    margin: 5rem 0;
    position: relative;
    overflow: hidden;
    border-radius: 20px; /* 添加圆角 */
    max-width: 1200px; /* 限制最大宽度 */
    margin-left: auto; /* 水平居中 */
    margin-right: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* 添加阴影 */
}
.advantages-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png') center/cover;
    opacity: 0.05;
    z-index: 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.advantage-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.hexagon {
    width: 80px;
    height: 46px;
    background: var(--primary-color);
    position: relative;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.hexagon:before,
.hexagon:after {
    content: "";
    position: absolute;
    width: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
}

.hexagon:before {
    bottom: 100%;
    border-bottom: 23px solid var(--primary-color);
}

.hexagon:after {
    top: 100%;
    border-top: 23px solid var(--primary-color);
}

.advantage-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: white;
}

/* 核心价值观部分 */
.values-section {
    padding: 3rem 0; /* 减少上下内边距 */
    background-color: #f8f9fa;
    border-radius: 20px;
    max-width: 1200px;
    margin: 3rem auto; /* 减少外边距 */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-height: auto; /* 移除最小高度限制 */
}

/* 调整内部容器 */
.values-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem; /* 缩小卡片间距 */
    margin-top: 1.5rem;
    padding: 0 20px;
}

/* 调整卡片样式 */
.value-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem; /* 减少内边距 */
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%; /* 确保卡片高度一致 */
}

/* 调整图标大小 */
.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}
/* 调整内容容器内边距 */
.advantages-section .about-container,
.values-section .about-container {
    padding: 0 40px; /* 增加内边距 */
}

/* 确保内部卡片不与圆角重叠 */
.advantages-grid,
.values-container {
    margin-top: 2rem;
    padding: 0 20px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .advantages-section,
    .values-section {
        border-radius: 15px;
        margin: 3rem 15px;
    }
    
    .advantages-section .about-container,
    .values-section .about-container {
        padding: 0 20px;
    }
}
/* 页脚样式 */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0;
    position: relative;
    z-index: 10;
    margin-top: -2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.footer-logo img {
    max-width: 150px;
}

.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

.footer-info {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 动画效果 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .hero-section p {
        font-size: 1.2rem;
    }
    
    .mission-content {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-nav ul {
        justify-content: center;
    }
    
    .footer-logo {
        margin-bottom: 1.5rem;
    }
}